﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.EventSystems;

public class SJoystick : MonoBehaviour,IPointerEnterHandler, IPointerExitHandler
{
	private bool m_PointerEnter;
	void Start () {
		
	}
	
	void Update () {
		
	}
	
	public void OnPointerExit(PointerEventData eventData)
	{
		m_PointerEnter = false;
	}

	public void OnPointerEnter(PointerEventData eventData)
	{
		m_PointerEnter = true;
	}
}
